Meike Reichle: My current favourite debian package
... and the reason I get nothing done. Please meet cuyo. Fun, addictive, drives you
nuts!
LocationMatch
directive and regular expressions. I'll put it
here, so I'll be able to find it again...
Actually it was a quite simple problem: A simple web page, where all web
pages are protected with a password. No big Problem: Use a <location
/>
and AuthType basic
, problem solved.... or isn't
it?
Some documents might be needed to be available without the
authentication... for example robots.txt... or the funky custom error
document, which explains how to get the authentication data, in case
the authentication fails.
Looking at the documentation, found a solution:
LocationMatch
exists, where you specify a regular
expression, which must match, for the following configuration to
apply.
What isn't mentioned in the documentation, that the obvious
solution... something like <LocationMatch
!"^/(robots.txt my401handler.html">
doesn't work. See apache bug
10932. Needed quite some time, to find this out...
Luckily Meike found the bug report above, which has a workaround for
that problem: Use <LocationMatch
"^/(?!robots.txt my401handler.html)">
Oh... and if your customized error handler references some pictures or
style sheets, don't forget to add them to the regular expression above,
too.
feel good factorthat motivated me back then; you could donate blood during your duty hours, got some money, something to eat a way better than the normal food we got and additionally you where freed from heavy duty for two days. Even after I got out of military service, I went a couple of times to donate blood. But for some reason -- I don't know why -- I stopped for a couple of years. Well; the funny thing is, that the German red Cross has often these
collect bloodsessions in a nearby school, which is on my way back to university, but even that didn't worked. I always had something else in mind or planed for that evening. However, the other day we found a flier of one of those
collect blood sessionsyesterday evening. And so we went there... and where surprised how many people wanted to donate blood! I can't remember that I ever had to wait to donate blood, but this time they said they had many first time donors, which need special care. Rest of the story is easy: After some interesting conversation (
You know how that works?--
Yes, I look away, and you do the rest and tell me nothing!), Meike and myself had half a liter less, and enjoyed a very nice meal. As I already said: I don't understand, why I didn't did it for such a long time; nice atmosphere, nice things to eat, nice people taking care of you... I'm going to donate more often. Perhaps you want to try it, too?
Next.